package run.siyuan.manag.security;

import org.springframework.security.core.GrantedAuthority;

/**
 * @program: sy-auth-manag
 * @description:
 * @author: SY
 * @create: 2021-01-14 18:06
 **/
public class GrantedAuthorityImpl implements GrantedAuthority {

    private static final long serialVersionUID = 1L;

    private String authority;

    @Override
    public String getAuthority() {
        return this.authority;
    }

    public GrantedAuthorityImpl(String authority) {
        this.authority = authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }
}
